<!doctype html>
<html>

<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-touch-fullscreen" content="yes">
	<meta name="format-detection" content="telephone=no">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">
	<meta name="msapplication-tap-highlight" content="no">
	<meta name="viewport" content="initial-scale=1,maximum-scale=1,minimum-scale=1">
	<title></title>
	<link rel="stylesheet" type="text/css" href="../css/base.css?v2.0.11">
	<link rel="stylesheet" type="text/css" href="../css/sctouch_common.css?v2.0.11">
	<link rel="stylesheet" type="text/css" href="../css/sctouch_products_detail.css?v2.0.11">
	<link rel="stylesheet" type="text/css" href="../css/mui/mui.css?v2.0.11">
	<style>
		.goods-detail-type {
			display: block;
			padding: 0.5rem 0.5rem 0.25rem 0.5rem;
			background-color: #FFF;
			font-size: 15px;
			color: #999;
		}
		.goods-detail-foot .buy-handle, .goods-option-foot .buy-handle {
			float: right;
			width: 94%;
			margin-right: 3%;
			font-size: 0;
			display: flex;
			border-radius: 1.5rem;
			overflow: hidden;
			position: relative;
			top: 0.5rem;
			margin-top: 3%;
		}
	</style>
</head>

<body class="bg-white">
	<header id="header" class="transparent">
		<div class="header-wrap">
			<!--<div class="header-l"> <a  ><i class="back iconfont"></i> </a> </div>-->
			<!--<div class="header-r">-->
				<!--&lt;!&ndash;<span class="matter-btn open-url" data-url="../mall/media.html?goods_id=">发圈素材</span>&ndash;&gt;-->
				<!--<a id="header-nav" ><i class="more iconfont"></i><sup></sup></a>-->
			<!--</div>-->
		</div>
		<div class="sctouch-nav-layout">
			<div class="sctouch-nav-menu"> <span class="arrow"></span>
				<ul>
					<li><a class="open-url" data-url="../mall/index.html"><i class="iconfont home"></i>
							<lang data-id="home"></lang>
						</a></li>
					<li><a class="open-url" data-url="../mall/search.html"><i class="iconfont search"></i>
							<lang data-id="search"></lang>
						</a></li>
					<li><a class="open-url" data-url="../mall/product_first_categroy.html"><i class="iconfont categroy"></i>
							<lang data-id="classification"></lang>
						</a></li>
					<li><a class="open-url" data-url="../mall/cart_list.html"><i class="iconfont cart"></i>
							<lang data-id="cart"></lang><sup></sup>
						</a></li>
					<li><a class="open-url" data-url="../member/member.html"><i class="iconfont member"></i>
							<lang data-id="my_business_city"></lang>
						</a></li>
					<!--<li><a class="goods-share" ><i class="iconfont share"></i>分享</a></li>-->
				</ul>
			</div>
		</div>
	</header>
	<div id="product_detail_html" style="position: relative; z-index: 1;"></div>
	<!-- <div class="show-detail text-center">---- 显示详情 ----</div> -->
	<div id="goods-body" class="list-container matter-box">

	</div>
	<div class="bottom-span"></div>
	<div id="product_detail_spec_html" class="sctouch-bottom-mask"></div>
	<div id="voucher_html" class="sctouch-bottom-mask"></div>
	<div id="share_product_detail_foot_html"></div>
	<script type="text/html" id="product_detail">
<div class="goods-detail-top" style="margin-top: 0">
		<div class="goods-detail-pic" id="mySwipe">
			<ul>
				<% for (var i =0;i<goods_image.length;i++){ %>
				<li><img src="<%=goods_image[i]%>"/></li>
				<% } %>
			</ul>
		</div>
                <%if(goods_image.length>1){%>
		<div class="goods-detail-turn">
			<span class="now_page">1</span>/<span class="total_page"><%=goods_image.length%></span>
		</div>
                <%}%>
		<!--<div class="round pd-share"><i></i></div>-->
	</div>
<div class="goods-detail-cnt">
	<div class="goods-detail-price-box">
		<div>
			<div class="top">
				<span style="font-size: 1.2rem;">¥<%=goods_info.goods_price%></span>
			</div>
		</div>
	</div>
	<div class="intro-box">
			<div class="goods-detail-name">
				<dl>
					<dt><%if(goods_info.is_virtual == '1'){%><span><%=lang('fictitious')%></span><%}%><% if (goods_info.is_presell == '1') { %><span><%=lang('pre_sale')%></span><% } %><% if (goods_info.is_goodsfcode == '1') { %><span>F码</span><% } %><%=goods_info.goods_name%></dt>
					<dd><%=goods_info.goods_advword%></dd>
				</dl>
			</div>
	</div>

	<% if (goods_info.promotion_type == 'xianshi' || goods_info.promotion_type == 'groupbuy' || (mansong_info != null && mansong_info.rules) || (gift_array && !isEmpty(gift_array))) { %>
	<div class="goods-detail-item" style="padding-bottom:0">
		<div class="itme-name"><%=lang('promotion')%></div>
		<div class="item-con">
			<% if (goods_info.promotion_type == 'xianshi') { %>
			<dl class="goods-detail-sale">
				<dt><i><%=goods_info.title%></i></dt>
				<dd>
					<%=lang('direct_descending')%>￥<%=goods_info.down_price%>
					<% if( goods_info.lower_limit ) { %>
					<%=lang('minimum')%><%=goods_info.lower_limit%><%=lang('pieceqi')%><%if(goods_info.explain){%>，<%=goods_info.explain%><%  } %>
						<%  } %>
				<dd>
			</dl>
			<% } %>
			<% if (goods_info.promotion_type == 'groupbuy') { %>
			<dl class="goods-detail-sale">
				<dt><i><%=goods_info.title%></i></dt>
				<dd>
				<% if (goods_info.upper_limit) { %>
				<%=lang('most_limited_purchase')%><%=goods_info.upper_limit%><%=lang('piece')%>
					<%  } %>
                                <%if(goods_info.remark){%>
				，<%=goods_info.remark%>
                                <%  } %>
				<dd>
			</dl>
			<% } %>
			<% if (mansong_info != null && mansong_info.rules) { %>
			<dl class="goods-detail-sale">
				<dt>
					<i><%=lang('full_delivery')%></i>
				</dt>
                                <dd class="mansong-rule">
				<% if (mansong_info != null && mansong_info.rules) { for (var i =0;i<mansong_info.rules.length;i++){ %>

						<%=lang('single_order_full')%><em><%=mansong_info.rules[i].mansongrule_price%></em><%=lang('element')%>
						<% if (mansong_info.rules[i].mansongrule_discount > 0) { %>
						，<%=lang('erect_subtraction')%><em><%=mansong_info.rules[i].mansongrule_discount%></em><%=lang('element')%>
						<% } %>
						<% if (mansong_info.rules[i].goods_image_url) { %>
						，<%=lang('give_gifts')%>
						<% } %>
				<%if(i!=mansong_info.rules.length-1){%><br><%}%>
				<%}}%>
                                </dd>
			</dl>
			<% } %>
			<% if (gift_array && !isEmpty(gift_array)) { %>
			<dl class="goods-detail-sale">
				<dt>
					<i><%=lang('gift')%></i>
				</dt>

				<dd class="gift-item">
                                    <% for (var k in gift_array) { var v = gift_array[k]; %>
                                    <a class="open-url" data-url="?goods_id=<%= v.gift_goodsid %>"<img src="<%=v.gift_goodsimage_url%>"></a>
					<em>&#215; <%= v.gift_amount %></em>
                                    <% } %>
				</dd>

			</dl>
			<% } %>
		</div>
	</div>
	<% } %>
        <% if (goods_info.mgdiscount_type) { %>
        <div class="goods-detail-mgdiscount" style="padding-bottom:0">
            <div class="itme-name"><%=lang('membership_discounts')%></div>
            <div class="item-con">
            <% for (var k in goods_info.goods_mgdiscount_arr) { var v = goods_info.goods_mgdiscount_arr[k]; %>
            <span>
            <em><%= v.level_name %></em><%= v.level_discount %><%=lang('fracture')%>
            </span>
            <% } %>
            </div>
        </div>
        <% } %>
        <div class="item_select_wrap">
			<div class="goods-detail-item shop-recommend mt1">
				<div class="share-name"><span><%=goods_info.inviter_name%></span>&nbsp;&nbsp;&nbsp;&nbsp;<span>为您推荐</span></div>
				<div class="item-con">
					<a>
						<dl class="goods-detail-freight">
						</dl>
					</a>
				</div>
			</div>


			<div class="goods-detail-item mt5">
				<div class="itme-name">类型</div>
				<div class="item-con">
					<a>
						<dl class="goods-detail-freight">

							<% if (goods_info.trade_mode >1) { %>
							<dt><span><%=goods_info.trade_mode_format%></span></dt>
							<% }else{%>
							<dt><span><%=goods_info.trade_mode_format%></span></dt>
							<%}%>

						</dl>
					</a>
				</div>
			</div>
			<div class="goods-detail-item">
				<div class="itme-name"><%=lang('send_to')%></div>
				<div class="item-con">
					<a id="get_area_selected">
						<dl class="goods-detail-freight">
							<dt><span id="get_area_selected_name"><%=goods_hair_info.area_name%></span><strong id="get_area_selected_whether"><%=goods_hair_info.if_store_cn%></strong></dt>
						</dl>
					</a>
				</div>
				<div class="item-more iconfont">...</div>
			</div>
			<div class="goods-detail-item" id="goods_spec_selected">
				<div class="itme-name"><%=lang('selected')%></div>
				<div class="item-con">
					<dl class="goods-detail-sel">
						<dt>
							<% if (!isEmpty(goods_info.goods_spec)) { %>
							<% if(goods_map_spec.length>0){%>
							<% for(var i =0;i<goods_map_spec.length;i++){%>
							<span>
							<%=goods_map_spec[i].goods_spec_name%>
							<%for(var j in goods_map_spec[i].goods_spec_value){%>
								<%if (goods_info.goods_spec[goods_map_spec[i].goods_spec_value[j].specs_value_id]){%>
									<em><%=goods_map_spec[i].goods_spec_value[j].specs_value_name%></em>
								<%}%>
							<%}%>
							</span>
							<%}%>
							<%}} else { %>
							<span><%=lang('default')%></span>
							<% } %>
						</dt>
					</dl>
				</div>
				<div class="item-more iconfont">...</div>
			</div>

			<div class="goods-detail-item mui-hidden">
				<div class="itme-name">售后</div>
				<div class="item-con">
					<a >
						<dl class="goods-detail-freight" >
							<dt>
								<%if (goods_info.is_warranty == 1) {%>支持<%}else{%>不支持<%}%> 包修，
								<%if (goods_info.is_7_day_return == 1) {%>支持<%}else{%>不支持<%}%> 7天无理由退货
							</dt>
						</dl>
					</a>
				</div>
			</div>
        </div>

        <% if (goods_info.pintuan_type) { %>
        <div class="goods-detail-pintuan">
            <% if (goods_info.pintuangroup_share_id<=0) { %>
            <div class="mt"><%=lang('yes')%><%= goods_info.pintuangroup_count %><%=lang('participate')%><div class="item-more iconfont">&#xe632;</div></div>
            <% } %>
            <div class="mc">
                <div class="explain"><%=lang('tips_one')%><%= goods_info.pintuan_limit_quantity %><%=lang('tips_two')%>,<%= goods_info.pintuan_limit_hour %><%=lang('tips_three')%><%= goods_info.pintuan_limit_number %><%=lang('people')%></div>
                <ul>
                    <% for (var k in goods_info.pintuangroup_list) { var v = goods_info.pintuangroup_list[k]; %>
                    <!--通过拼团分享会员ID判断其他组团是否显示-->
                    <li
                        <% if (goods_info.pintuangroup_share_id>0) { %>
                        <% if (v.pintuangroup_headid == goods_info.pintuangroup_share_id) { %>
                        <% }else{ %>
                        style="display:none"
                        <% } %>
                        <% } %>
                        >
                        <div class="p_img"><img src="<%= v.pintuangroup_avatar %>" /></div>
                        <div class="p_name"><%= v.member_name %></div>
                        <div class="p_info">(<%=lang('still_poor')%><%= v.pintuangroup_surplus %><%=lang('still_poor_lian')%>)</div>
                        <div class="p_join">
                            <% if (v.pintuangroup_surplus > 0) { %>
                            <a herf="javascript:void(0)" class="btn" id="pintuan-now" fieldid="<%= v.pintuangroup_id %>"><%=lang('join_the_group')%></a>
                            <%} else { %>
                            <a herf="javascript:void(0)" class="btn disable" ><%=lang('full_of_people')%></a>
                            <% } %>
                        </div>
                    </li>
                    <% } %>
                </ul>
            </div>
        </div>
        <% } %>

        <% if (goods_eval_list.length > 0) { %>
	<div class="goods-detail-comment" id="goodsEvaluation1">
		<div class="title">
			<a id="goodsEvaluation1" ><%=lang('commodity_evaluation')%><span class="rate"><%=lang('praise_rate')%><em><%=goods_evaluate_info.good_percent%>%</em></span><span class="rate-num">（<%=goods_info.evaluation_count%><%=lang('human_evaluation')%>）</span></a>
		</div>
		<div class="comment-info">

			<% for (var i=0; i<goods_eval_list.length; i++) { %>
			<dl>
				<dt>
					<div class="goods-raty"><i class="star<%=goods_eval_list[i].geval_scores%>"></i></div>
					<time><%=goods_eval_list[i].geval_addtime_date%></time>
					<span class="user-name"><%=goods_eval_list[i].geval_frommembername%></span>
				</dt>
				<dd><%=goods_eval_list[i].geval_content%></dd>
			</dl>
			<% } %>
		</div>
	</div>
        <% } %>
        <!-- 商品详情 -->
        <div class="goods-body">
						<!-- <%=goods_info.mobile_body%>
        <%for(var i=0;i<mb_body.length;i++){%>
            <%if(mb_body[i].type=='text'){%>
            <%=mb_body[i].value%>
            <%}%>
            <%if(mb_body[i].type=='image'){%>
            <img class="lazyload" data-original='<%=mb_body[i].value%>'>
            <%}%>
        <%}%> -->
        <div class='more wait'><%=lang('view_more')%><span class='iconfont'>&#xe63f;</span></div>
				</div>


</script>
	<script type="text/html" id="product_detail_foot">
<div class="goods-detail-foot share-detail-btn">
	<div class="buy-handle <%if(!goods_hair_info.if_store || goods_info.goods_storage == 0){%>no-buy<%}%>">
		<a class="<%if(goods_hair_info.if_store){%>animation-up<%}%> buy-now"><%=lang('purchase_immediately')%></a>
	</div>
</div>
</script>
	<script type="text/html" id="product_detail_sepc">
    <div class="sctouch-bottom-mask-bg"></div>
    <div class="sctouch-bottom-mask-block">
        <div class="sctouch-bottom-mask-top goods-options-info">
            <div class="goods-pic">
                <img src="<%=goods_image[0]%>"/>
            </div>
            <dl>
                <dt><%=goods_info.goods_name%></dt>
                <dd class="goods-price">
                    <% if (goods_info.promotion_type) {
                    var promo;
                    switch (goods_info.promotion_type) {
                    case 'groupbuy': promo = '抢购'; break;
                    case 'xianshi': promo = '限时折扣'; break;
                    case 'sole': promo = '手机专享'; break;}
                    %>
                    ￥<em><%=goods_info.promotion_price%></em>
                    <span class="activity">
                        <% if (promo) { %>
                        <%= promo %>
                        <% } %>
                    </span>
                    <% } else { %>
                    ￥<em><%=goods_info.goods_price%></em>
                    <% } %>
                    <!-- <span class="goods-storage"><%=lang('stock')%>：<%=goods_info.goods_storage%><%=lang('piece')%></span> -->
                </dd>
                <!--拼团相关单独显示,不和 限时折扣和抢购归为一类-->
                <% if (goods_info.pintuan_type) { %>
                <dd class="goods-price">
                    ￥<%=goods_info.pintuan_price%><span class="activity"><%=lang('collage')%></span>
                </dd>
                <% } %>
            </dl>
            <a class="sctouch-bottom-mask-close"><i></i></a>
        </div>
        <div class="sctouch-bottom-mask-rolling" id="product_roll">
            <div class="goods-options-stock mui-hidden">
				<dl class="spec goods-tax">
					<dt>
						预计税费：
						<span>0</span>
					</dt>
				</dl>
				<dl class="spec goods-freight">
					<dt>
						预计运费：
						<span>0</span>
					</dt>
				</dl>
        </div>
    </div>
    <div class="goods-option-value" style="margin-bottom: 4rem;"><%=lang('purchase_quantity')%>
        <div class="value-box">
            <span class="minus">
                <a >&nbsp;</a>
            </span>
            <span>
                <input type="text" pattern="[0-9]*" class="buy-num" id="buynum" value="1" readonly/>
            </span>
            <span class="add">
                <a >&nbsp;</a>
            </span>
        </div>
    </div>

</script>
	<script type="text/html" id="voucher_script">
<% if (voucher) { %>
	<div class="sctouch-bottom-mask-bg"></div>
	<div class="sctouch-bottom-mask-block">
		<div class="sctouch-bottom-mask-top store-voucher">
			<i class="icon-store iconfont"></i>
			<%=store_info.store_name%>&nbsp;&nbsp;<%=lang('shop_vouchers')%>
			<a class="sctouch-bottom-mask-close"><i></i></a>
		</div>
		<div class="sctouch-bottom-mask-rolling" id="voucher_roll">
			<div class="sctouch-bottom-mask-con">
				<ul class="sctouch-voucher-list">
				<% for (var i=0; i<voucher.length; i++) { %>
				<li>
					<dl>
						<dt class="money"><%=lang('denomination')%><em><%=voucher[i].vouchertemplate_price%></em><%=lang('element')%></dt>
						<dd class="need"><%=lang('need_to_consume')%><%=voucher[i].vouchertemplate_limit%><%=lang('use')%></dd>
						<dd class="time"><%=lang('to')%><%=voucher[i].vouchertemplate_enddate%><%=lang('pre_use')%></dd>
					<dl>
					<a class="btn" data-tid=<%=voucher[i].vouchertemplate_id%>><%=lang('receive')%></a>
				</li>
				<% } %>
				</ul>
			</div>
		</div>
	</div>
<% } %>
</script>
	<script type="text/html" id="list-address-script">
<% for (var i=0;i<addr_list.length;i++) {%>
<li>
	<dl>
		<a  index_id="<%=i%>">
			<dt><%=addr_list[i].name_info%><span><i></i><%=lang('consult_a_map')%></span></dt>
			<dd><%=addr_list[i].address_info%></dd>
		</a>
	</dl>
	<span class="tel"><a href="tel:<%=addr_list[i].phone_info%>"</a></span>
</li>
<% } %>
</script>
	<script type="text/javascript" src="../js/mui/mui.js?v2.0.11" ></script>
	<script type="text/javascript" src="../js/zepto.min.js?v2.0.11"></script>
	<script type="text/javascript" src="../js/config.js?v2.0.11"></script><script type="text/javascript" src="../js/base64.js?v2.0.11"></script>
	<script type="text/javascript" src="../js/template.js?v2.0.11"></script>
	<script type="text/javascript" src="../js/swipe.js?v2.0.11"></script>
	<script type="text/javascript" src="../js/common.js?v2.0.11"></script>
	<script type="text/javascript" src="../js/iscroll.js?v2.0.11"></script>
	<script type="text/javascript" src="../js/simple-plugin.js?v2.0.11"></script>
	<script type="text/javascript" src="../js/fly/requestAnimationFrame.js?v2.0.11"></script>
	<script type="text/javascript" src="../js/fly/zepto.fly.min.js?v2.0.11"></script>
	<script type="text/javascript" src="js/share_product_detail.js?v2.0.11"></script>
	<script type="text/javascript" src="lang/product_detail.js?v2.0.11"></script>
	<script type="text/javascript" src="../js/lang.js?v2.0.11"></script>
</body>

</html>